package com.joysuch.wwyt.bp.bean.investigate;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Author ZhangDong
 * @Date 2020/3/25 10:40
 */
@Data
public class BpInvestigateStoreBean {

    @ApiModelProperty("主键id-修改时传值")
    private Long id;

    @ApiModelProperty("检查类型名称")
    @NotEmpty(message = "检查类型名称不能为空")
    private String checkTypeName;

    @ApiModelProperty("父id")
    @NotNull(message = "父id不能为空，根节点传0")
    private Long parentId;
}
